<?php
session_start();

require_once("../database.include.php");

	$cancelinviteID = $_GET["cancelinviteID"];
	
	/* Delete all rows from the invitation table */
	$count = $conn->exec("DELETE FROM `group_invitation` WHERE `invitation_id` = '" . $cancelinviteID . "'");
	/* Return number of rows that were deleted */
	echo "Deleted $count rows in invite table.\n";
?>
